package com.gjp.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.gjp.bean.Roles;
import com.gjp.mapper.RolesMapper;

@Service
@Transactional
public class RolesServiceImpl implements RolesService
{
	@Autowired
	RolesMapper rolesMapper;
	
	public Roles selectRolesById(Roles roles)
	{
		return rolesMapper.selectRolesById(roles);
	}
}
